package router

import (
	"food-expressions/hendler"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.GET("/list", hendler.List)
	r.GET("/foodList", hendler.FoodList)
	r.POST("/add", hendler.Add)
	return r
}
